struct VertexToPixel
{
    float4 Position     : POSITION;
    float4 Color        : COLOR0;
};

float4x4 xViewProjection;
float4 holdcolor;
float4 arraymine[5];

VertexToPixel SimplestVertexShader( float4 inPos : POSITION, float4 inColor : COLOR0)
{
    VertexToPixel Output = (VertexToPixel)0;
    
    Output.Position = mul(inPos, xViewProjection);
    //Output.Color = holdcolor;    
    Output.Color = arraymine[2];    
    
    holdcolor = inColor;
    
    return Output;    
}

technique Simplest
{
    pass Pass0
    {        
        VertexShader = compile vs_1_1 SimplestVertexShader();
        PixelShader = NULL;
    }
}
